<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
  <head>
    <title>Department Details</title>
	<link href="<s:url value="/css/admin.css"/>
	
  " rel="stylesheet" type="text/css">
	<s:head/>
  </head>
  
 <body>
	<center><b>Department Details</b></center><br>
	<table width="50%"  border="0" align="center" cellpadding="0" cellspacing="0">
</table>
	<table width="69%"  border="1" align="center" cellpadding="0" cellspacing="0"  style="border-collapse:collapse ">
  <tr>
    <td width="25%" height="25" align="right">Department Code:</td>
    <td width="75%">
    <s:property value="department.deptCode"/> 
    </td>
  </tr>
  <tr>
    <td height="25" align="right">Department Name:</td>
    <td><s:property value="department.name"/> </td>
  </tr>
  <tr>
    <td height="25" align="right">Department Phone:</td>
    <td><s:property value="department.tel"/> </td>
  </tr>
  <tr>
    <td height="25" align="right">Users:</td>
    <td><table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td width="12%"><strong>No.</strong></td>
    <td width="22%"><strong>Name</strong></td>
    <td width="21%"><strong>type</strong></td>
    <td width="45%"><strong>phone</strong></td>
  </tr>
  <s:iterator value="department.users" status="i">
  <tr align="center">
    <td><s:property value="#i.index+1"/> </td>
    <td><s:property value="name"/> </td>
    <td><s:property value="@com.debug.config.Constant@getString(type)"/> </td>
    <td><s:property value="userDetail.tel"/> </td>
  </tr>
  </s:iterator>
</table>
</td>
  </tr>
</table>
<br>
<table width="15%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td width="53%" colspan="2"><input type="button" value="Close" onclick="window.close();"></td>
  </tr>
</table>
</body>
</html>
